package cn.jeeweb.modules.client.entity;

import cn.jeeweb.core.common.entity.AbstractEntity;
import cn.jeeweb.modules.sys.entity.User;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;

import java.util.Date;

/**   
 * @Title: 订单信息
 * @Description: 订单信息
 * @author zhuht
 * @date 2018-06-21 11:45:08
 * @version V1.0   
 *
 */
@TableName("client_order")
@SuppressWarnings("serial")
public class ClientOrder extends AbstractEntity<String> {

	/**主键*/
    @TableId(value = "id", type = IdType.UUID)
	private String id;
    /**创建者*/
    @TableField(value = "create_by",el="createBy.id",fill = FieldFill.INSERT)
	private User createBy;
    /**创建时间*/
    @TableField(value = "create_date",fill = FieldFill.INSERT)
	private Date createDate;
    /**更新者*/
    @TableField(value = "update_by",el="updateBy.id",fill = FieldFill.UPDATE)
	private User updateBy;
    /**更新时间*/
    @TableField(value = "update_date",fill = FieldFill.UPDATE)
	private Date updateDate;
    /**删除标记（0：正常；1：删除）*/
    @TableField(value = "del_flag")
	private String delFlag;
    /**备注信息*/
    @TableField(value = "remarks")
	private String remarks;
    /**链接*/
    @TableField(value = "link")
	private String link;
	/**店铺id*/
	@TableField(value = "shop_id")
	private String shopId;
    /**店铺名*/
    @TableField(value = "shop_name")
	private String shopName;
    /**标题*/
    @TableField(value = "title")
	private String title;
    /**大图*/
    @TableField(value = "img_url")
	private String imgUrl;
    /**sku*/
    @TableField(value = "sku")
	private String sku;
    /**关键字*/
    @TableField(value = "keyword")
	private String keyword;
	/**关键字*/
	@TableField(value = "keyword2")
	private String keyword2;
	/**关键字*/
	@TableField(value = "keyword3")
	private String keyword3;
	/**关键字*/
	@TableField(value = "keyword4")
	private String keyword4;
	/**关键字*/
	@TableField(value = "keyword5")
	private String keyword5;
    /**类型*/
    @TableField(value = "type")
	private String type;
    /**购买件数*/
    @TableField(value = "buy_count")
	private Integer buyCount;
    /**订单数量*/
    @TableField(value = "order_count")
	private Integer orderCount;
    /**宝贝所在位置*/
    @TableField(value = "page")
	private Integer page;
    /**第几个*/
    @TableField(value = "index")
	private Integer index;
    /**价格*/
    @TableField(value = "price")
	private String price;
    /**优惠券链接*/
    @TableField(value = "offer_link")
	private String offerLink;
    /**用户id*/
    @TableField(value = "user_id")
	private String userId;
    /**总价*/
    @TableField(value = "total_price")
	private String totalPrice;
    /**本金*/
    @TableField(value = "base_price")
	private String basePrice;
    /**佣金*/
    @TableField(value = "commission_price")
	private String commissionPrice;
    /**0：未提交 1：已提交*/
    @TableField(value = "status")
	private Short status;
    /**用户账号*/
    @TableField(value = "username")
	private String username;
    /**任务id*/
    @TableField(value = "task_id")
	private String taskId;
    /**预付金额*/
    @TableField(value = "estimated_price")
	private String estimatedPrice;
    /**刷单日期*/
    @TableField(value = "expect_date")
	private Date expectDate;
    /**预计时间*/
    @TableField(value = "estimated_time")
	private String estimatedTime;
    /**地区名*/
    @TableField(value = "computer_name")
	private String computerName;
    /**机器关联id*/
    @TableField(value = "computer_id")
	private String computerId;
    /**回填金额*/
    @TableField(value = "pay_price")
	private String payPrice;
    /**邮费*/
    @TableField(value = "postage")
	private String postage;
    /**提交时间*/
    @TableField(value = "submission_time")
	private String submissionTime;
    /**指定地区*/
    @TableField(value = "rand")
	private String rand;
    /**做单员工id*/
    @TableField(value = "work_user_id")
	private String workUserId;
    /**员工*/
    @TableField(value = "work_user_name")
	private String workUserName;
    /**开始 刷单日期*/
    @TableField(value = "begin_expect_time")
	private Date beginExpectTime;
    /**结束 刷单日期*/
    @TableField(value = "end_expect_time")
	private Date endExpectTime;
    /**产品名*/
    @TableField(value = "product_name")
	private String productName;
    /**获取订单人id*/
    @TableField(value = "search_by")
	private String searchBy;
    /**获取时间段*/
    @TableField(value = "search_time")
	private Date searchTime;
    /**做单状态 0:未做单 1:已做单*/
    @TableField(value = "make_status")
	private Short makeStatus;
    /**淘宝账号*/
    @TableField(value = "taobao_code")
	private String taobaoCode;
    /**赠品id*/
    @TableField(value = "gift_id")
	private String giftId;
    //赠品名称
    @TableField(value = "gift_name")
    private String giftName;
    private String doMakeTime;
    /**做单时间*/
    @TableField(value = "make_time")
    private Date makeTime;
    /**订单类型*/
    @TableField(value = "order_state")
    private String orderState;
    /**做单人*/
    @TableField(value = "make_id")
    private String makeId;
	
    /**做单人姓名*/
    @TableField(exist = false)
    private String realname;
    
    /** 单位佣金 */
    @TableField(value = "base_commission_price")
    private Double baseCommissionPrice;
    
    //做单是否通过
    @TableField(value = "pass_state")
    private String passState;

    @TableField(value = "bzbz")
    private String bzbz;

    //打包状态
	@TableField(value = "bale_state")
    private String baleState;

	@TableField(value = "user_name")
	private String userName;

	public String getBzbz() {
		return bzbz;
	}

	public void setBzbz(String bzbz) {
		this.bzbz = bzbz;
	}

	/**
	 * 获取  id
	 *@return: String  主键
	 */
	public String getId(){
		return this.id;
	}

	/**
	 * 设置  id
	 *@param: id  主键
	 */
	public void setId(String id){
		this.id = id;
	}
	/**
	 * 获取  createBy
	 *@return: User  创建者
	 */
	public User getCreateBy(){
		return this.createBy;
	}

	/**
	 * 设置  createBy
	 *@param: createBy  创建者
	 */
	public void setCreateBy(User createBy){
		this.createBy = createBy;
	}
	/**
	 * 获取  createDate
	 *@return: Date  创建时间
	 */
	public Date getCreateDate(){
		return this.createDate;
	}

	/**
	 * 设置  createDate
	 *@param: createDate  创建时间
	 */
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
	/**
	 * 获取  updateBy
	 *@return: User  更新者
	 */
	public User getUpdateBy(){
		return this.updateBy;
	}

	/**
	 * 设置  updateBy
	 *@param: updateBy  更新者
	 */
	public void setUpdateBy(User updateBy){
		this.updateBy = updateBy;
	}
	/**
	 * 获取  updateDate
	 *@return: Date  更新时间
	 */
	public Date getUpdateDate(){
		return this.updateDate;
	}

	/**
	 * 设置  updateDate
	 *@param: updateDate  更新时间
	 */
	public void setUpdateDate(Date updateDate){
		this.updateDate = updateDate;
	}
	/**
	 * 获取  delFlag
	 *@return: String  删除标记（0：正常；1：删除）
	 */
	public String getDelFlag(){
		return this.delFlag;
	}

	/**
	 * 设置  delFlag
	 *@param: delFlag  删除标记（0：正常；1：删除）
	 */
	public void setDelFlag(String delFlag){
		this.delFlag = delFlag;
	}
	/**
	 * 获取  remarks
	 *@return: String  备注信息
	 */
	public String getRemarks(){
		return this.remarks;
	}

	/**
	 * 设置  remarks
	 *@param: remarks  备注信息
	 */
	public void setRemarks(String remarks){
		this.remarks = remarks;
	}
	/**
	 * 获取  link
	 *@return: String  链接
	 */
	public String getLink(){
		return this.link;
	}

	/**
	 * 设置  link
	 *@param: link  链接
	 */
	public void setLink(String link){
		this.link = link;
	}
	/**
	 * 获取  shopName
	 *@return: String  店铺名
	 */
	public String getShopName(){
		return this.shopName;
	}

	/**
	 * 设置  shopName
	 *@param: shopName  店铺名
	 */
	public void setShopName(String shopName){
		this.shopName = shopName;
	}
	/**
	 * 获取  title
	 *@return: String  标题
	 */
	public String getTitle(){
		return this.title;
	}

	/**
	 * 设置  title
	 *@param: title  标题
	 */
	public void setTitle(String title){
		this.title = title;
	}
	/**
	 * 获取  imgUrl
	 *@return: String  大图
	 */
	public String getImgUrl(){
		return this.imgUrl;
	}

	/**
	 * 设置  imgUrl
	 *@param: imgUrl  大图
	 */
	public void setImgUrl(String imgUrl){
		this.imgUrl = imgUrl;
	}
	/**
	 * 获取  sku
	 *@return: String  sku
	 */
	public String getSku(){
		return this.sku;
	}

	/**
	 * 设置  sku
	 *@param: sku  sku
	 */
	public void setSku(String sku){
		this.sku = sku;
	}
	/**
	 * 获取  keyword
	 *@return: String  关键字
	 */
	public String getKeyword(){
		return this.keyword;
	}

	/**
	 * 设置  keyword
	 *@param: keyword  关键字
	 */
	public void setKeyword(String keyword){
		this.keyword = keyword;
	}
	/**
	 * 获取  type
	 *@return: String  类型
	 */
	public String getType(){
		return this.type;
	}

	/**
	 * 设置  type
	 *@param: type  类型
	 */
	public void setType(String type){
		this.type = type;
	}
	/**
	 * 获取  buyCount
	 *@return: Integer  购买件数
	 */
	public Integer getBuyCount(){
		return this.buyCount;
	}

	/**
	 * 设置  buyCount
	 *@param: buyCount  购买件数
	 */
	public void setBuyCount(Integer buyCount){
		this.buyCount = buyCount;
	}
	/**
	 * 获取  orderCount
	 *@return: Integer  订单数量
	 */
	public Integer getOrderCount(){
		return this.orderCount;
	}

	/**
	 * 设置  orderCount
	 *@param: orderCount  订单数量
	 */
	public void setOrderCount(Integer orderCount){
		this.orderCount = orderCount;
	}
	/**
	 * 获取  page
	 *@return: Integer  宝贝所在位置
	 */
	public Integer getPage(){
		return this.page;
	}

	/**
	 * 设置  page
	 *@param: page  宝贝所在位置
	 */
	public void setPage(Integer page){
		this.page = page;
	}
	/**
	 * 获取  index
	 *@return: Integer  第几个
	 */
	public Integer getIndex(){
		return this.index;
	}

	/**
	 * 设置  index
	 *@param: index  第几个
	 */
	public void setIndex(Integer index){
		this.index = index;
	}
	/**
	 * 获取  price
	 *@return: String  价格
	 */
	public String getPrice(){
		return this.price;
	}

	/**
	 * 设置  price
	 *@param: price  价格
	 */
	public void setPrice(String price){
		this.price = price;
	}
	/**
	 * 获取  offerLink
	 *@return: String  优惠券链接
	 */
	public String getOfferLink(){
		return this.offerLink;
	}

	/**
	 * 设置  offerLink
	 *@param: offerLink  优惠券链接
	 */
	public void setOfferLink(String offerLink){
		this.offerLink = offerLink;
	}
	/**
	 * 获取  userId
	 *@return: String  用户id
	 */
	public String getUserId(){
		return this.userId;
	}

	/**
	 * 设置  userId
	 *@param: userId  用户id
	 */
	public void setUserId(String userId){
		this.userId = userId;
	}
	/**
	 * 获取  totalPrice
	 *@return: String  总价
	 */
	public String getTotalPrice(){
		return this.totalPrice;
	}

	/**
	 * 设置  totalPrice
	 *@param: totalPrice  总价
	 */
	public void setTotalPrice(String totalPrice){
		this.totalPrice = totalPrice;
	}
	/**
	 * 获取  basePrice
	 *@return: String  本金
	 */
	public String getBasePrice(){
		return this.basePrice;
	}

	/**
	 * 设置  basePrice
	 *@param: basePrice  本金
	 */
	public void setBasePrice(String basePrice){
		this.basePrice = basePrice;
	}
	/**
	 * 获取  commissionPrice
	 *@return: String  佣金
	 */
	public String getCommissionPrice(){
		return this.commissionPrice;
	}

	/**
	 * 设置  commissionPrice
	 *@param: commissionPrice  佣金
	 */
	public void setCommissionPrice(String commissionPrice){
		this.commissionPrice = commissionPrice;
	}
	/**
	 * 获取  status
	 *@return: Short  0：未提交 1：已提交
	 */
	public Short getStatus(){
		return this.status;
	}

	/**
	 * 设置  status
	 *@param: status  0：未提交 1：已提交
	 */
	public void setStatus(Short status){
		this.status = status;
	}
	/**
	 * 获取  username
	 *@return: String  用户账号
	 */
	public String getUsername(){
		return this.username;
	}

	/**
	 * 设置  username
	 *@param: username  用户账号
	 */
	public void setUsername(String username){
		this.username = username;
	}
	/**
	 * 获取  taskId
	 *@return: String  任务id
	 */
	public String getTaskId(){
		return this.taskId;
	}

	/**
	 * 设置  taskId
	 *@param: taskId  任务id
	 */
	public void setTaskId(String taskId){
		this.taskId = taskId;
	}
	/**
	 * 获取  estimatedPrice
	 *@return: String  预付金额
	 */
	public String getEstimatedPrice(){
		return this.estimatedPrice;
	}

	/**
	 * 设置  estimatedPrice
	 *@param: estimatedPrice  预付金额
	 */
	public void setEstimatedPrice(String estimatedPrice){
		this.estimatedPrice = estimatedPrice;
	}
	/**
	 * 获取  expectDate
	 *@return: Date  刷单日期
	 */
	public Date getExpectDate(){
		return this.expectDate;
	}

	/**
	 * 设置  expectDate
	 *@param: expectDate  刷单日期
	 */
	public void setExpectDate(Date expectDate){
		this.expectDate = expectDate;
	}
	/**
	 * 获取  estimatedTime
	 *@return: String  预计时间
	 */
	public String getEstimatedTime(){
		return this.estimatedTime;
	}

	/**
	 * 设置  estimatedTime
	 *@param: estimatedTime  预计时间
	 */
	public void setEstimatedTime(String estimatedTime){
		this.estimatedTime = estimatedTime;
	}
	/**
	 * 获取  computerName
	 *@return: String  地区名
	 */
	public String getComputerName(){
		return this.computerName;
	}

	/**
	 * 设置  computerName
	 *@param: computerName  地区名
	 */
	public void setComputerName(String computerName){
		this.computerName = computerName;
	}
	/**
	 * 获取  computerId
	 *@return: String  机器关联id
	 */
	public String getComputerId(){
		return this.computerId;
	}

	/**
	 * 设置  computerId
	 *@param: computerId  机器关联id
	 */
	public void setComputerId(String computerId){
		this.computerId = computerId;
	}
	/**
	 * 获取  payPrice
	 *@return: String  回填金额
	 */
	public String getPayPrice(){
		return this.payPrice;
	}

	/**
	 * 设置  payPrice
	 *@param: payPrice  回填金额
	 */
	public void setPayPrice(String payPrice){
		this.payPrice = payPrice;
	}
	/**
	 * 获取  postage
	 *@return: String  邮费
	 */
	public String getPostage(){
		return this.postage;
	}

	/**
	 * 设置  postage
	 *@param: postage  邮费
	 */
	public void setPostage(String postage){
		this.postage = postage;
	}
	/**
	 * 获取  submissionTime
	 *@return: String  提交时间
	 */
	public String getSubmissionTime(){
		return this.submissionTime;
	}

	/**
	 * 设置  submissionTime
	 *@param: submissionTime  提交时间
	 */
	public void setSubmissionTime(String submissionTime){
		this.submissionTime = submissionTime;
	}
	/**
	 * 获取  rand
	 *@return: String  指定地区
	 */
	public String getRand(){
		return this.rand;
	}

	/**
	 * 设置  rand
	 *@param: rand  指定地区
	 */
	public void setRand(String rand){
		this.rand = rand;
	}
	/**
	 * 获取  workUserId
	 *@return: String  做单员工id
	 */
	public String getWorkUserId(){
		return this.workUserId;
	}

	/**
	 * 设置  workUserId
	 *@param: workUserId  做单员工id
	 */
	public void setWorkUserId(String workUserId){
		this.workUserId = workUserId;
	}
	/**
	 * 获取  workUserName
	 *@return: String  员工
	 */
	public String getWorkUserName(){
		return this.workUserName;
	}

	/**
	 * 设置  workUserName
	 *@param: workUserName  员工
	 */
	public void setWorkUserName(String workUserName){
		this.workUserName = workUserName;
	}
	/**
	 * 获取  beginExpectTime
	 *@return: Date  开始 刷单日期
	 */
	public Date getBeginExpectTime(){
		return this.beginExpectTime;
	}

	/**
	 * 设置  beginExpectTime
	 *@param: beginExpectTime  开始 刷单日期
	 */
	public void setBeginExpectTime(Date beginExpectTime){
		this.beginExpectTime = beginExpectTime;
	}
	/**
	 * 获取  endExpectTime
	 *@return: Date  结束 刷单日期
	 */
	public Date getEndExpectTime(){
		return this.endExpectTime;
	}

	/**
	 * 设置  endExpectTime
	 *@param: endExpectTime  结束 刷单日期
	 */
	public void setEndExpectTime(Date endExpectTime){
		this.endExpectTime = endExpectTime;
	}
	/**
	 * 获取  productName
	 *@return: String  产品名
	 */
	public String getProductName(){
		return this.productName;
	}

	/**
	 * 设置  productName
	 *@param: productName  产品名
	 */
	public void setProductName(String productName){
		this.productName = productName;
	}
	/**
	 * 获取  searchBy
	 *@return: String  获取订单人id
	 */
	public String getSearchBy(){
		return this.searchBy;
	}

	/**
	 * 设置  searchBy
	 *@param: searchBy  获取订单人id
	 */
	public void setSearchBy(String searchBy){
		this.searchBy = searchBy;
	}
	/**
	 * 获取  searchTime
	 *@return: Date  获取时间段
	 */
	public Date getSearchTime(){
		return this.searchTime;
	}

	/**
	 * 设置  searchTime
	 *@param: searchTime  获取时间段
	 */
	public void setSearchTime(Date searchTime){
		this.searchTime = searchTime;
	}
	/**
	 * 获取  makeStatus
	 *@return: Short  做单状态 0:未做单 1:已做单
	 */
	public Short getMakeStatus(){
		return this.makeStatus;
	}

	/**
	 * 设置  makeStatus
	 *@param: makeStatus  做单状态 0:未做单 1:已做单
	 */
	public void setMakeStatus(Short makeStatus){
		this.makeStatus = makeStatus;
	}
	/**
	 * 获取  taobaoCode
	 *@return: String  淘宝账号
	 */
	public String getTaobaoCode(){
		return this.taobaoCode;
	}

	/**
	 * 设置  taobaoCode
	 *@param: taobaoCode  淘宝账号
	 */
	public void setTaobaoCode(String taobaoCode){
		this.taobaoCode = taobaoCode;
	}
	/**
	 * 获取  giftId
	 *@return: String  赠品id
	 */
	public String getGiftId(){
		return this.giftId;
	}

	/**
	 * 设置  giftId
	 *@param: giftId  赠品id
	 */
	public void setGiftId(String giftId){
		this.giftId = giftId;
	}

	public Date getMakeTime() {
		return makeTime;
	}

	public void setMakeTime(Date makeTime) {
		this.makeTime = makeTime;
	}

	public String getOrderState() {
		return orderState;
	}

	public void setOrderState(String orderState) {
		this.orderState = orderState;
	}

	public String getMakeId() {
		return makeId;
	}

	public void setMakeId(String makeId) {
		this.makeId = makeId;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public Double getBaseCommissionPrice() {
		return baseCommissionPrice;
	}

	public void setBaseCommissionPrice(Double baseCommissionPrice) {
		this.baseCommissionPrice = baseCommissionPrice;
	}

	public String getDoMakeTime() {
		return doMakeTime;
	}

	public void setDoMakeTime(String doMakeTime) {
		this.doMakeTime = doMakeTime;
	}

	public String getGiftName() {
		return giftName;
	}

	public void setGiftName(String giftName) {
		this.giftName = giftName;
	}

	public String getPassState() {
		return passState;
	}

	public void setPassState(String passState) {
		this.passState = passState;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getKeyword2() {
		return keyword2;
	}

	public void setKeyword2(String keyword2) {
		this.keyword2 = keyword2;
	}

	public String getKeyword3() {
		return keyword3;
	}

	public void setKeyword3(String keyword3) {
		this.keyword3 = keyword3;
	}

	public String getKeyword4() {
		return keyword4;
	}

	public void setKeyword4(String keyword4) {
		this.keyword4 = keyword4;
	}

	public String getKeyword5() {
		return keyword5;
	}

	public void setKeyword5(String keyword5) {
		this.keyword5 = keyword5;
	}

	public String getBaleState() {
		return baleState;
	}

	public void setBaleState(String baleState) {
		this.baleState = baleState;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}
